#define _CRT_SECURE_NO_WARNINGS 1

#include"Seqlist.h"

int main()
{
	SL zmh;
	int ret = 0;
	SeqlistInit(&zmh);
	SeqlistPushFront(&zmh, 1);
	SeqlistPushFront(&zmh, 2);
	SeqlistPushFront(&zmh, 3);
	SeqlistPushFront(&zmh, 4);
	SeqlistPushFront(&zmh, 5);
	SeqlistPrint(&zmh);
	SeqlistPushBack(&zmh, 6);
	SeqlistPushBack(&zmh, 7);
	SeqlistPushBack(&zmh, 8);
	SeqlistPrint(&zmh);
	ret = SeqlistFind(&zmh,7);
	printf("%d\n", ret);
	ret = SeqlistIndex(&zmh, 7);
	printf("%d\n", ret);
	SeqlistReverse(&zmh, 1314, 5);
	SeqlistPrint(&zmh);
	SeqlistDestory(&zmh);
	return 0;
}